package com.zhangzhan.gulimallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangzhan.gulimallcommcon.util.PageUtils;
import com.zhangzhan.gulimallproduct.entity.AttrGroupEntity;
import com.zhangzhan.gulimallproduct.vos.AttrAttrGroupRelationVo;
import com.zhangzhan.gulimallproduct.vos.AttrVo;
import com.zhangzhan.gulimallproduct.vos.ClassifyTheAssociatedGroupingAndGroupingAttributesVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zhangzhan
 * @email sunlightcs@gmail.com
 * @date 2024-06-12 16:45:44
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Integer catelogId);

    List<AttrVo> attrRelation(Long attrGroupId);

    void attrRelationDelete(List<AttrAttrGroupRelationVo> vos);

    PageUtils noattrRelation(Map<String, Object> params, Long attrGroupId);

    void attrRelationS(List<AttrAttrGroupRelationVo> vos);

    List<ClassifyTheAssociatedGroupingAndGroupingAttributesVo> getClassifyTheAssociatedGroupingAndGroupingAttributes(Long catelogId);
}

